package com.bluesea.service;

import java.util.List;

import com.bluesea.exception.BusinessException;
import com.bluesea.model.User;


public interface UserService {

	void addUser(User user) throws BusinessException;

	void updateUser(User user) throws BusinessException;

	void deleteUser(User user) throws BusinessException;

	List<User> findAll() throws BusinessException;

	boolean validate(String username, String password) throws BusinessException;

	List<User> findUsersByName(String username) throws BusinessException;

}
